package com.frank.practice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2025/3/17
 * @description 套题信息表
 */
@Data
@TableName(value = "practice_set")
public class PracticeSet implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 套题名称
     */
    @TableField(value = "set_name")
    private String setName;

    /**
     * 套题类型 1实时生成 2预设套题
     */
    @TableField(value = "set_type")
    private Integer setType;

    /**
     * 热度
     */
    @TableField(value = "set_heat")
    private Integer setHeat;

    /**
     * 套题描述
     */
    @TableField(value = "set_desc")
    private String setDesc;

    /**
     * 大类id
     */
    @TableField(value = "primary_category_id")
    private Long primaryCategoryId;

    /**
     * 创建人
     */
    @TableField(value = "created_by")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 是否被删除 0为删除 1已删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    private static final long serialVersionUID = 1L;

}